package com.ziyun.pop.modules.erpUserLog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员erp操作日志记录
 * 
 * @author jiangli
 * @email 
 * @date 2018-10-13 16:16:09
 */
@TableName("erp_user_log")
public class ErpUserLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增id
	 */
	@TableId(type = IdType.AUTO)
	private Integer logId;
	/**
	 * 会员ID
	 */
	private Integer userId;
	/**
	 * 对象ID
	 */
	private Long relId;
	/**
	 * 操作员ID
	 */
	private String createBy;
	/**
	 * 操作时间
	 */
	private Date createDate;
	/**
	 * 操作内容
	 */
	private String log;

	/**
	 * 设置：自增id
	 */
	public void setLogId(Integer logId) {
		this.logId = logId;
	}
	/**
	 * 获取：自增id
	 */
	public Integer getLogId() {
		return logId;
	}
	/**
	 * 设置：会员ID
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：会员ID
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：对象ID
	 */
	public void setRelId(Long relId) {
		this.relId = relId;
	}
	/**
	 * 获取：对象ID
	 */
	public Long getRelId() {
		return relId;
	}
	/**
	 * 设置：操作员ID
	 */
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	/**
	 * 获取：操作员ID
	 */
	public String getCreateBy() {
		return createBy;
	}
	/**
	 * 设置：操作时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：操作时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：操作内容
	 */
	public void setLog(String log) {
		this.log = log;
	}
	/**
	 * 获取：操作内容
	 */
	public String getLog() {
		return log;
	}
}
